package com.ffox.mapper;

import com.ffox.entity.PlatformInformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface PlatformLoginMapper {

    //    根据number查数据
    public PlatformInformation getPlatformByNumber(String number);

    //增加
    public Integer insertPlatform(PlatformInformation loginPlatform);

    //    修改
    public Integer updatePlatform(@Param("id") Long id, @Param("params") Map<String, Object> params);


}
